package org.lan.repository;

import org.lan.entity.GroupResource;
import org.lan.entity.Resource;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface GroupResourceRepository extends CrudRepository<GroupResource, Integer> {
    List<Resource> findResourceByGroupId(Integer groupId);
}
